
import Layout from '@/layout/index.vue'

const logsRouter = [{
  path: '/logs',
  component: Layout,
  redirect: '/logs/manageLog',
  name: 'logs',
  meta: {
    title: '日志服务',
    icon: 'chat-square'
  },
  children: [
    {
      path: '/logs/manageLog',
      component: () => import('@/views/logs/manageLog/index.vue'),
      name: 'manageLog',
      meta: { title: '后台管理日志', icon: 'chat-square' }
    },
    {
      path: '/logs/equipLog',
      component: () => import('@/views/logs/equipLog/index.vue'),
      name: 'equipLog',
      meta: { title: '设备日志', icon: 'chat-square' }
    },
  ]
}]

export default logsRouter
